<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="longui01.css">
</head>
<body>
<div class="button-div">
    <img class="photo" src="photo.jpg"/>
    <p id="welcome"></p>
    <button class="button" onClick="openWorldSelectionGui()"><span>单人游戏 </span></button>
    <button class="button" onClick="connectToMyServer()"><span>跟小伙伴们一起玩耍~ </span></button>
</div>
<script>
    function luiScreenInit()
    {
        setMCTitle("超级可爱的服务器主界面qwq");
        var playerInfo = getPlayerInfo();
        var welcome = document.getElementById("welcome");
        welcome.innerText = "你好呐，可爱的" + playerInfo.name + "酱~";
    }

    function connectToMyServer()
    {
        connectToServer({name:"kawaii", ip:"127.0.0.1:1080"});
    }
</script>
</body>
</html>